﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Product
{
    public class Product_IntegratePurchas
    {
        #region "member variant"
        private int id;
        private int productid;
        private string productname;
		private DateTime? starttime;
		private DateTime? endtime;
		private decimal? deposit;
		private int count;
		private decimal? donateintegral;
		private string laddercount;
		private string description;
		private string ladderprice;
        private int putoutid;

        #endregion

        #region "Constructor"
        /// <summary>
        /// 构造一个空的新的数据访问对象
        /// </summary>
        /// <remarks></remarks>
        public Product_IntegratePurchas()
        {
        }
        #endregion

        #region "Property"
        /// <summary>
        /// 与数据库基本列id相对应的公共属性, Caption:id
        /// </summary>
        /// <remarks></remarks>
        public int ID
        {
            get { return id; }
            set { id = value; }
        }
        /// <summary>
        /// 与数据库基本列ProductID相对应的公共属性, Caption:商品ID
        /// </summary>
        public int ProductID
        {
            get { return productid; }
            set { productid = value; }
        }
        /// <summary>
        /// 与数据库基本列ProductName相对应的公共属性, Caption:商品名称
        /// </summary>
        public string ProductName
        {
            get { return productname; }
            set { productname = value; }
        }
        /// <summary>
        /// 与数据库基本列StartTime相对应的公共属性, Caption:团购开始时间
        /// </summary>
        public DateTime? StartTime
        {
            set { starttime = value; }
            get { return starttime; }
        }
        /// <summary>
        /// 与数据库基本列EndTime相对应的公共属性, Caption:团购结束时间
        /// </summary>
        public DateTime? EndTime
        {
            set { endtime = value; }
            get { return endtime; }
        }
        /// <summary>
        /// 与数据库基本列Deposit相对应的公共属性, Caption:保证金
        /// </summary>
        public decimal? Deposit
        {
            set { deposit = value; }
            get { return deposit; }
        }
        /// <summary>
        /// 与数据库基本列Count相对应的公共属性, Caption:限购数量
        /// </summary>
        public int Count
        {
            set { count = value; }
            get { return count; }
        }
        /// <summary>
        /// 与数据库基本列DonateIntegral相对应的公共属性, Caption:赠送积分
        /// </summary>
        public decimal? DonateIntegral
        {
            set { donateintegral = value; }
            get { return donateintegral; }
        }
        /// <summary>
        /// 与数据库基本列LadderCount相对应的公共属性, Caption:价格阶梯(数量与享受价)
        /// </summary>
        public string LadderCount
        {
            set { laddercount = value; }
            get { return laddercount; }
        }
        /// <summary>
        /// 与数据库基本列Description相对应的公共属性, Caption:描述
        /// </summary>
        public string Description
        {
            set { description = value; }
            get { return description; }
        }
        /// <summary>
        /// 与数据库基本列LadderPrice相对应的公共属性, Caption:(数量与享受价)
        /// </summary>
        public string LadderPrice
        {
            set { ladderprice = value; }
            get { return ladderprice; }
        }
        /// <summary>
        /// 添加者ID
        /// </summary>
        public int Putoutid
        {
            get { return putoutid; }
            set { putoutid = value; }
        }
        #endregion
    }
}
